package cn.z2huo.algorithm.allArray;

public class Other {
    public static void main(String[] args){
        int a=12;
        int b=15;
        System.out.println("a: "+a+" b: "+b);
        b = a+b;
        a = b-a;
        b = b-a;
        System.out.println("a: "+a+" b: "+b);
        int[] array = {1,2,3};
        array[1] = array[0] + array[1];
        array[0] = array[1] - array[0];
        array[1] = array[1] - array[0];
        System.out.println("0: "+array[0]+" 1: "+array[1]);
    }
}
